<div id="main">
<h2><%= title "<%= class_name %> Pages - #{params[:id]}" %></h2>
<p>Conribute to the best resource for sliding in the world by adding or editing a page on the <strong>SliderGuide <%= class_name %></strong>. Anyone can contribute.</p>
<table>
  <tr>
  </tr>

<% for <%= file_name %>_page in @<%= file_name %>_pages %>
  <tr>
    <td><%= link_to(h(<%= file_name %>_page.title), <%= file_name %>_path(<%= file_name %>_page.slug)) %></td>
  </tr>
<% end %>
<% if @<%= file_name %>_pages.size < 1 %>
 <tr><td>Sorry, there were no pages found. Perhaps you could <%= link_to('create', new_<%= file_name %>_path) %> one.</td></tr>
<% end %>
</table>
</div><!--END main-->


<div id="secondary">
<%= render :partial => '<%= file_name %>_navigation' %>
</div>